﻿using System;

namespace Poly2Tri
{
	// Token: 0x020003EE RID: 1006
	public class DTSweepDebugContext : TriangulationDebugContext
	{
		// Token: 0x06001B8B RID: 7051 RVA: 0x000AEB9B File Offset: 0x000ACD9B
		public DTSweepDebugContext(DTSweepContext tcx) : base(tcx)
		{
		}

		// Token: 0x170003C8 RID: 968
		// (get) Token: 0x06001B8C RID: 7052 RVA: 0x000AEBA4 File Offset: 0x000ACDA4
		// (set) Token: 0x06001B8D RID: 7053 RVA: 0x000AEBAC File Offset: 0x000ACDAC
		public DelaunayTriangle PrimaryTriangle
		{
			get
			{
				return this._primaryTriangle;
			}
			set
			{
				this._primaryTriangle = value;
				this._tcx.Update("set PrimaryTriangle");
			}
		}

		// Token: 0x170003C9 RID: 969
		// (get) Token: 0x06001B8E RID: 7054 RVA: 0x000AEBC5 File Offset: 0x000ACDC5
		// (set) Token: 0x06001B8F RID: 7055 RVA: 0x000AEBCD File Offset: 0x000ACDCD
		public DelaunayTriangle SecondaryTriangle
		{
			get
			{
				return this._secondaryTriangle;
			}
			set
			{
				this._secondaryTriangle = value;
				this._tcx.Update("set SecondaryTriangle");
			}
		}

		// Token: 0x170003CA RID: 970
		// (get) Token: 0x06001B90 RID: 7056 RVA: 0x000AEBE6 File Offset: 0x000ACDE6
		// (set) Token: 0x06001B91 RID: 7057 RVA: 0x000AEBEE File Offset: 0x000ACDEE
		public TriangulationPoint ActivePoint
		{
			get
			{
				return this._activePoint;
			}
			set
			{
				this._activePoint = value;
				this._tcx.Update("set ActivePoint");
			}
		}

		// Token: 0x170003CB RID: 971
		// (get) Token: 0x06001B92 RID: 7058 RVA: 0x000AEC07 File Offset: 0x000ACE07
		// (set) Token: 0x06001B93 RID: 7059 RVA: 0x000AEC0F File Offset: 0x000ACE0F
		public AdvancingFrontNode ActiveNode
		{
			get
			{
				return this._activeNode;
			}
			set
			{
				this._activeNode = value;
				this._tcx.Update("set ActiveNode");
			}
		}

		// Token: 0x170003CC RID: 972
		// (get) Token: 0x06001B94 RID: 7060 RVA: 0x000AEC28 File Offset: 0x000ACE28
		// (set) Token: 0x06001B95 RID: 7061 RVA: 0x000AEC30 File Offset: 0x000ACE30
		public DTSweepConstraint ActiveConstraint
		{
			get
			{
				return this._activeConstraint;
			}
			set
			{
				this._activeConstraint = value;
				this._tcx.Update("set ActiveConstraint");
			}
		}

		// Token: 0x170003CD RID: 973
		// (get) Token: 0x06001B96 RID: 7062 RVA: 0x00003781 File Offset: 0x00001981
		public bool IsDebugContext
		{
			get
			{
				return true;
			}
		}

		// Token: 0x06001B97 RID: 7063 RVA: 0x000AEC49 File Offset: 0x000ACE49
		public override void Clear()
		{
			this.PrimaryTriangle = null;
			this.SecondaryTriangle = null;
			this.ActivePoint = null;
			this.ActiveNode = null;
			this.ActiveConstraint = null;
		}

		// Token: 0x04001D56 RID: 7510
		private DelaunayTriangle _primaryTriangle;

		// Token: 0x04001D57 RID: 7511
		private DelaunayTriangle _secondaryTriangle;

		// Token: 0x04001D58 RID: 7512
		private TriangulationPoint _activePoint;

		// Token: 0x04001D59 RID: 7513
		private AdvancingFrontNode _activeNode;

		// Token: 0x04001D5A RID: 7514
		private DTSweepConstraint _activeConstraint;
	}
}
